package com.dongjiantong.user.service;/**
 * Created by cao on 2017/11/28.
 */

import com.dongjiantong.mybatis.BaseService;
import com.dongjiantong.user.model.UserArea;

import java.util.List;


/**
 * @author cao
 * @create 2017-11-28 下午1:07
 **/

public interface OrgUserAreaService extends BaseService<UserArea> {

    /**
     * 根据用户id查询其管辖区域list
     * @param userId
     * @return
     */
    List<UserArea> queryByUserId(long userId);

    /**
     * 查询自己负责区域
     * @param userId
     * @return
     */
    List<Object> queryLocationArea(long userId);
}
